The cheapest means of transport is the metro. You should take line 8 (pink) to ‘Nuevos Ministerios’ station. At this station you will have to get on line 6 (grey) to ‘Argüelles’ station. And finally, choose the exit towards Calle Princesa. The hostel is located across Princesa street.