They’re not particularly harmful, and the educational apps featured on the App Store and Google Play can be far more useful than having your child simply sit in front of the TV.
That being said, a tablet is held closer to the eyes than a laptop or PC monitor is, so it does put more stress on the eyes.