India and Pakistan sign the agreement