The zombies spawn on a 0.5% chance of each ore you break.
Running /shop will allow you to purchase a sword and you will be able to enchant that as you would a pickaxe, but with Looting and Sharpness, which will increase your reward for killing a zombie and make it faster.
Without Looting, Zombies give the same reward as coal, which is $1.