If you mean the key fob battery, insert it in the ignition lock, switch the ignition on and press the key fob switch for two seconds. It should reinitilise the key fob memory and all should then work ok. If the car battery was completely flat, when it was reconnected it SHOULD then work ok, UNLESS you boost charged it in situ with the leads connected in which case you may very well have damaged the circutry of the central locking control mechanism. They are NOT cheap, but a Citroen garage can test that for you on the diagnostic socket.
Macboatmaster, July 2006