In Dulce et Decorum Est, hags is used to describe young soldiers. The simile 'coughing like hags' was used because the young soldiers went into battle strong and full of life. After battle, they returned looking aged and beat down - hence 'hags' or resembling beggars.