Most 1931-S Cents are discolored from sitting in bank bags for years before release. This one is no exception. The black spots could have occurred from someone breathing on the surface while looking at it through a loupe.
I don't think they can be removed.
The coin looks AU-58.
Pete