Doubts about Movie Noah

The chosen family (Husband and wife, three sons and one daughter in-law) got on board and eventually became the only "man" on the earth. In the end, they are blessed with twin grand daughters, who are supposed to multiply.

But how?