Heineken has signed a deal to acquire FEMSA Cerveza, Mexico's second largest brewer, in a deal worth EUR3.8bn (US$5.5bn).