There is a guide on it, its called Dismouting units, but you do the reverse to mount them.
https://forums.totalwar.org/vb/showthread.php?t=46265