Two US nationals have been arrested after one jumped the fence of the monkey, who went viral online, police say.