Player one (the goalie) use the keys a and d to move left or right. Player two, aka the ball use the mouse to drag the ball along, and click when you're ready to throw (NOTE: the two players need to be in the same room, using the same computer.). (FURTHER NOTE: the goals thing doesn't work, YET)
I used the ideas in the scratch coding book I have.