Click in the small text field in the top left corner to give allow the game to receive keyboard events.