There are two types of deities, the consecrated and non-consecrated. If it is consecrated, only men can perform upacharams as per the ordains. They should touch the deities only after taking bath in the morning, after performing sandhyavandanam and before partaking food.
If the deities are not consecrated, then any one can touch the deities and adorn them with new clothes.