I use FindMyPast and simply select Census Reference Search.
In Ancestry, go to Search and click on "Go To Old Search" (somewhere top right).
Select the relevant census, and towards the bottom of the search box, you'll find a section allowing you to enter the reference numbers.