How can I use matrix button combination with led?

I made the button box. It's working now. But I want to use six or more led with this box. I have arduino leonardo. I will connect analog input because 9 pin used. Empty pins is A0-A1-A2-A3-A4-A5-A6-7-12-13. How I do? I also have two 74HC595 integrated.
My code is ;
#include <Keyboard.h>

// Array of pins for the columns
int cPins[] = {2, 3, 4, 5, 6};

// Number of pins in the column array
int cPinsNo = 5;

// Array of pins for the rows
int rPins[] = {8, 9, 10, 11};

// Number of pins in the row array
int rPinsNo = 4;

// Array for the last known switch states [cPinsNo][rPinsNo]
int colPrev[5][4] = {0};

uint8_t buttonCodes[5][4] = {
{0x61, 0x62, 0x63, 0x64},
{0x65, 0x66, 0x67, 0x68},
{0x69, 0x70, 0x71, 0x72},
{0x73, 0x74, 0x75, 0x76},
{0x77, 0x78, 0x79, 0x7A}
};

void setup()
{

Serial.begin(9600);

for(int cPin = 0; cPin < cPinsNo; cPin++)
{
pinMode(cPins[cPin], OUTPUT);
digitalWrite(cPins[cPin], HIGH);
}

for(int rPin = 0; rPin < rPinsNo; rPin++)
{
pinMode(rPins[rPin], INPUT);
digitalWrite(rPins[rPin], HIGH);
}

}

void loop()
{
// Loop through the columns
for(int cPin = 0; cPin < cPinsNo; cPin++)
{
digitalWrite(cPins[cPin], LOW);

// Loop through the rows
for(int rPin = 0; rPin < rPinsNo; rPin++)
{

if(digitalRead(rPins[rPin]) == LOW)
{

if(colPrev[cPin][rPin] == 0)
{

Keyboard.press(buttonCodes[cPin][rPin]);
delay(150);
Keyboard.release(buttonCodes[cPin][rPin]);

colPrev[cPin][rPin] = 1;
}
}
else {

if(colPrev[cPin][rPin] == 1)
{

colPrev[cPin][rPin] = 0;
}
}
}
digitalWrite(cPins[cPin], HIGH);
}
}

It's working now. I want to add six led or more.

Make an array with the pins you want to use for the LEDs,

byte ledPin [] = {A0, A1, A2, 7,12,13,};

add a for loop in setup() to make declare them as OUTPUTs

for (x=0; x<6; x=x+1){
pinMode (ledPin[x], OUTPUT);
}

then digitalWrite() them high or low as needed.

digitalWrite (ledPin[x], HIGH); // with x from 0 to 5 for 6 LEDs.

Thanks for helping but I wrote lacking, sorry about that. I want something like this;

  1. The first time I press the button[2x3] LED 1 hıgh, second press led1 low
  2. if I press the button[1x2] led 2 high, low,high, low.... Until I hit the button again
  3. Etc.

Thank you again.