keyboard in the game does not work

I play on windows 10 but in the game the keyboard does not work only mouse