Your title say “rust” and your question says “dirt.” Those are two completely different things. Washing in mild soapy water usually will remove dirt without damaging the coin. Removing rust is different. Perhaps with pictures of what you are trying to do would help.