Unless he had undescended testicles and they had to go in and search for them, which is more invasive than a regular neuter, then 2 weeks seems extreme to me. A day or two of very limited activity (penned up or crated when not being held) should be just fine, followed by gradually increased freedom to run. Of course, if his surgery was more invasive, listen to the vet