Indian PM accepts invitation to visit Pakistan