The leaders of Egypt and Sudan both welcome US president's offer to mediate in the Nile dam dispute with Ethiopia.