Normally, the biological mother should get custody. Since she doesn't want her child, the child would normally go to the father. But since the father wants to raise the children with his homosexual friend, the government should take the children away from the father and give them to a normal family.