Venezuela president Nicolas Maduro says security will be heightened in the country after two people died and 23 were injured during violent protests.