You can attack zombies by dragging your inventory cards (bottom row) over them. The red numbers indicate attack value. You should be prepared for that, so having a crafted weapon before attacking any of them is advised (or at least a good amount of items). Do not attack zombies too early. Once battle started, you will get away only by defeating all of them.