Former heroin addicts say discovering they were having a baby in rehab motivated them to get sober