I've stayed at the Hostal Cruz-Sol a few times. It's just behind the Plaza Mayor, a very short walk from the Puerta del Sol. If I recall correctly, I got a single room with ensuite facilities for about 40 euros a night.