Probably gone in to limp mode, you'll have to get it hooked up to the diagnostics.
My mother had a simmilar problem on an Opel zafira only last week.car was revving but just about.the car could still be driven but was deadly pullin out into traffic or onto round a bouts, it was bringing on a service light too.turns out there is some sensor on the accelerator pedal that was fooked
Find the ecu and where it connects up, sounds like water got in, clean it out and give it a blast of air, that should sort it or else its ur throttle
Sig removed - See rules
If Its a water problem then the diagnostics computer won't read the ecu
Sig removed - See rules
She is going into limp mode one ya, get it plugged in for fault codes it will put u in the right directiom