A building collapsed after a powerful explosion in central Madrid, leaving two people dead and two more injured according to the mayor.