Declension of numbers?

Can someone explain the declension of numbers to me? Why is it "dwa jabłka" but "dwoje dzieci" and not "dwa dzieci"? And does this happen with all numbers or only with 2?