India and Germany are preparing to sign an $8 billion defence deal for advanced submarines, including technology transfer and domestic manufacturing, marking the largest-ever military agreement between the two nations.