Hello,
This is taken from Apple's Website:
Clean your AirPods with charging case
Clean your AirPods with charging case regularly with a soft, lint-free cloth. Don’t get moisture in any openings, and don't use aerosol sprays, solvents, or abrasives.
Learn more about your AirPods with charging case - Apple Support