It's preferable to use the same credit card, but most hotels will accept a different card as long as the name on the reservation matches your ID and name on the credit card. Please note however that a hold will be put on the credit card that you provide at check-in to cover the hotel from any incidentals during your stay.