Modi attends Ramlila festivities, attacks Pak on terror