A man and woman sneaked into a hotel bedroom and took a guest’s car keys before driving off in the vehicle, a court was told.