At least 19 people have died and millions are at risk of flooding as storms drench California.