There's lots of camera attachments on the car when they do it. The guy on top of the car is the person who basically controls the vehicle. The actors inside the car just need to pretend like they are driving. This kind of shot inside the car makes it look more realistic instead of using a green screen and placing a moving background.