It will work for cleaning, but you will not like the residue on your face. Mineral oil works best if you feel the need for any type of lube. Hot water, a soft tooth brush and soap are usually all you need. Scrubbing bubbles if really bad build up.
I've honestly had really good luck with regular toothpaste and an old toothbrush to clean up a couple of scuzzy razors I picked up. Scrubbing bubbles, the spray foam in the green aerosol can, and an old toothbrush works well too.