Glad the RAC got you going. A flat fob battery is the most common cause of exactly this, and it's not unusual for both fobs to go at about the same time if they were fitted together at the factory.
The manual lists the usual warning signs: the remote range gradually getting shorter, the fob not working when there's no interference, or a "Smart key battery is low" message in the instrument cluster. The battery is a 3V CR2032 coin cell, fitted positive (+) side up.
Two cautions from the manual: don't touch the new battery with oily hands, and be careful when prising the covers open (it suggests taping the tip of the screwdriver). If you're not comfortable doing it, it recommends having an authorised service centre do it.
A spare CR2032 in the glovebox is cheap insurance. If fresh batteries start going flat again within a few months, mention it to the dealer, as that could point to a fault with the fob.