Space - Accelerate.
Up/Down - Shift Up/Down.
First choose a car and pimp it out, and then enter a dragrace. Keep an eye on your RPM meter to change gears at the right time as you race to the finish.
If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).