In reality though the law can't really touch them. I think the fines are quite small amounts like 4$ dollars for violating containment etc, and its bailable too, so legally police don't have a strong imperative to do anything much except chalk a fine.
That too could be challenged, I doubt if all those quarantined, isolated etc in India has been given formal quarantine orders, considering the chaos at airports.
And additionally at this juncture government wouldn't want to overcrowd the prisons at this point of time.