Video on social media shows panic on the streets as a powerful earthquake of magnitude 7.1 struck central Mexico.