Hi, assuming the fob batteries are ok, as both keys have stopped working it sound very much like the receiver. This is under the headlinning by the rear sunroof. You can lower it enough to see. The usual problem is a poor earth. If you do have to replace it, it's just plug & play.
Do you have...