Capri is pretty much an adult-centered destination but the page for kid-friendly activities from the website might be helpful:
http://www.capri.com/en/e/capri-with-kids
I believe the playground mentioned in Anacapri is marked as "Giardini Pubblici" on google maps. They don't recommend specific restaurants but kids are almost universally accepted anywhere in Italy so whatever looks good from the website's list. I'd go for easy food like pizza, or you might pick up some takeaway from Al Buco (Anacapri) and have a picnic?
http://www.capri.com/en/c/al-buco-rosticceria
Or pre-order a picnic basket of goodies from Ristorante Michel’angelo (Capri) and they'll even give you some suggestions for less-visited places to enjoy it and rent you a blanket for a small fee.
http://www.caprimichelangelo.com/picnics.html
One comment about the chairlift up Mt Solaro (mentioned on Capri.com)? I've done it and it was fun but I wouldn't do it with a small child on my lap and the website doesn't recommend it either. And skip the Blue Grotto. The most fun thing to do on the island is just to explore the tiny "streets" and narrow passageways and enjoy the view!