Print out the environment variables and store them in an array, then randomly select two of them and print them out in the format "variable=value".
printenv | awk -F= '{ array[NR] = $1 } END { srand(); printf "%s=%s\n", array[int(rand()*NR+1)], array[int(rand()*NR+1)]}'