There's usually a box by the front desk to drop off the keys so they can be reused. In some cases, there's an option to check out on the TV's interactive menu or the phone system, which lets them know you're done with the room. Many hotels now can simply email you a copy of the bill as well.