I've had the same problem twice now, without knowing the exact reason it stops working, in my situation, its been related to the antenna / receiver for the fob.
If you go into the boot, and simply try pressing the key fob in a few random places, hopefully, it will receive the signal and all...