Venezuelan President Nicolas Maduro says three air force generals have been arrested for plotting an uprising against his government.