Mexico City has set a cap on rent increases after reports showed that many locals were moving to the outskirts due to soaring rental prices.