An earthquake has hit Peru's capital, injuring scores of people. However, so far, no fatalities have been recorded.