India and Pakistan today signed a deal requiring them to notify each other of plans for ballistic missile tests, a key step in the peace process between the two nuclear-armed rivals. However, India warned that militant attacks in Kashmir could derail the thaw in relations.