They are used to hide her scent from the other walkers, so she can get around without getting eaten, like Rick and Glenn did back in season one in Atlanta. She also "neutered" them, cut their jaws off so they can't bite her. The two walkers are her boyfriend and her friend.