Gerry Adams and Michelle O'Neill have told Theresa May that she is breaking the Good Friday Agreement by entering into deals with the DUP.