Peru is great with Kids.
One thing to note is that most of the wealthier locals have nannies/live in help so many restaurants dont have kids menus, high chairs, etc.
Also the streets are narrow so if you need a stroller, I'd take an umbrella stroller.