In the key checking, to see what keys are pressed(ex. a=left for player 1 and <- arrow = left for player 2) It think if it's like that, you can use and && statement:
if(a && left) // quick example
{
move();
}
That's what I think will work. I never tried this, though.