From your nickname I assume you're using Unity, so I can't really help you with that, since I use Godot to make games. But still, I think that the simplest thing you could do is to have to have the first player controllable with WASD and Q/E/F and the second player controllable with the arrow keys and something like J/K/L I guess.