A man is behind bars after a surveillance operation caught him inappropriately touching teenage girls.