Effective Hamiltonian for non-leptonic decays at NNLO in QCD