Batteries in leak alarms should last a really long time (up to five years) but it is probably beneficial to check them once in a while. This can be done by pouring water over the sensor and ensuring the buzzer activates. If it does not, try replacing the batteries.
Leak alarms should not require any specific cleaning. If they do go off, it may be necessary to wipe them down and ensure they are dry again.