Yes, the EU-regulation applies to both children and adults. This means that children have the right to the same compensation amounts as adults, provided that you have paid for a seat for the child. Infants that travel for free with no seat are not eligible for compensation. If your airline has charged an administrative fee for your infant, you might be entitled to compensation, depending on the amount of the administrative fee.