Typhlosion cannot learn DynamicPunch.
Ampharos cannot learn Zap Cannon.
Ok, edit: I just found out that Typhosion can learn DynamicPunch by tutor in Gen II.
Ampharos can learn Zap Cannon by TM in Gen II.
In answer to your question, they both can't learn those moves by breeding.