You can't get the cursor position from the LCD. You have to remember the cursor position. You can move the cursor to any position with lcd.setCursor().
To delete a character with backspace, move the cursor back one space, print a space character (' ') and move the cursor back one space again.