A lot of two-player browser games support using the same keyboard for controls. Most of the time, player 1 will use WASD, and player 2 will use the arrow keys.