The German leader said in a speech Friday that Germany should expand its ties with India , as it has with China , both nations which have seen their economies grow rapidly in recent years .