The official currency in Mexico is the Mexican Peso (MXN).
Some businesses will also accept US Dollars (USD), specially in tourist areas, but usually at a more expensive exchange rate.
For travel expenses it’s better to have some Pesos at hand. You can exchange currency at the airport or at banks or local currency exchange shops found in most cities.