The permutations of situations caused by addiction are mind-numbing!! What a horrible situation. The blessing here is that the children will wind up with loving guardians to raise and love them.
Hopefully your son and his girlfriend will get help and in someway be able to participate in the lives of their children.
Prayers being sent your way.