UN agency says children as young as 12 are also being enlisted or coerced to join the fighting by armed groups.