This is a mathematical statement being treated as a singular concept. 'Two and two' together form the singular idea of 'four,' so we use the singular verb 'is.' The phrase 'Two and two are four' would suggest two separate entities, which isn't the case here.