The safest place for any baby to sleep is in their own safe crib. This applies to twins as well.
Due to space or financial restrictions, this may not always be possible. If you must sleep twins together, put one at each end of the crib, with feet to the foot of the crib. You should move them to their own crib as soon as they can move freely.