How to make multiplayer game with different controller for each player?

Local, and both of the players share one keyboard to play (one use arrow buttons and the other use WASD)