Mine get all sorts, sometimes they eat it, sometimes they don't, sometimes its super healthy stuff, sometimes it isn't. The thing I always say to them is it is about balance, you can't live on unhealthy things all the time, you have to balance it with healthy. My 6 year old now gets that, and even says she won't eat XXX today as she needs to eat some fruit etc. The thing I've tried to avoid is making food an issue. My eating habits are warped by my childhood of being forced to clear my plate, regardless of if I was hungry or not. My nephew is the worst eater in the world because he found he could use it as a means of manipulation against his mum.
At two, I would say that you can guide him, give him healthy choices but, don't make food a battle ground.