Josh Allen threw for four first-half touchdowns as the Bills won 47-10 to move to 3-0.