Press the green flag. If they both say "I win" it is a tie. The one who says "I win" first is the winner.