Ask Sophie: How do we transfer H-1Bs and green cards to our startup?

Two of my colleagues and I were laid off, and we’re founding a company together. What do we need to do to transfer their H-1Bs and green cards to our startup?