People wearing face masks walk through Barcelona after regional authorities and the city council announced restrictions to contain the spread of coronavirus.