While some welding magnets have the option for the user to switch off its magnetism, most welding magnets are not so easy to clean.
You will need to take your magnets and an air compressor outside while wearing protective eyewear. Shoot a few bursts of air onto your magnet, and it should come clean.