If you drag a group of units into another territory, or onto a transport, there should be a window pop up allowing you to specify how many units to transfer.
AFAIK there is no way to split them up first, and then move them.