Generally just take them out of the tank when you have finished using them, rinse under the tap and allow them to dry. If it is growing mould in it then you can soak it in a bucket of water with some bleach. After a few hours rinse it off with freshwater and allow to dry for a day before using it.
*NB* Make sure you wear gloves and safety glasses when using bleach.