How can I use Custom Fields for meta description/keyword content?

TBH I don’t think it makes much difference what kind of quotes the attribute values are inside of as long as they’re inside quotes. But if you want them to be the same (who’s going to know or really care?) try:

<?php
if (have_posts()) : the_post();
$custom_fields = get_post_custom();
$custom_meta_description = $custom_fields['meta-description'];
$custom_meta_keywords = $custom_fields['meta-keywords'];
if ( !empty($custom_meta_description[0]) )
{
    echo '<meta name="description" content="' . htmlentities($custom_meta_description[0]) . '" />' . "\\r\
";
}
if ( !empty($custom_meta_keywords[0]) )
{
    echo '<meta name="keywords" content="' . htmlentities($custom_meta_keywords[0]) . '" />' . "\\r\
";
}
rewind_posts(); // Thanks Azuaron !!
endif;
?>