They’d usually drop them at their feet, because longbows are incredibly awkward to carry – and stringing it across one’s back as in the movies is a great way to get yourself snagged on something.
Horse archers tended to have much smaller bows, and holsters that hang off the saddle.

As for how they transported the lances, see here.