France is to shut most shops, restaurants and cafes from midnight tonight in response to the coronavirus pandemic.