Terrorism a threat across the region: Modi