Maximal unitarity at two loops