Idiom: On pins and needles

On pins and needles: Anxious or nervous, especially in anticipation of something. 
Example: John has been on pins and needles all day, waiting for his wife to have the baby.