Yes. and the best way is to Use multiplayer plugin. Will require internet to connect both players.
If you mean sharing keyboard... why would you do this????
I have my tv be the host which shows the gameplay and 2 cell phones the peers which is the controls... lots of fun.