Depends on the touch. No one has suggested this warrants jail time. People are saying, and quite reasonably I think, that you should keep your hands to yourself.
Shaking hands = fine.
Tapping shoulder or top outside of arm = less fine, but acceptable in a narrow range of situations.
Placing cupped hand on shoulder of a stranger, with squeezing or stroking, with "friendly banter" = really not okay.