Modi and Putin to discuss ways to curb terror