If it's mindless undead, they count as 1/10th of a unit. If they're ghouls or similar, then you need to bring many troops, preferably strong and flying, a siege golem or two and some wall shakers and gate cleavers. Sapper units can also help but these are limited to a few nations.